/**
    Copyright (C) 2011  Alexander Vollmer

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.jefb.web.model.item;

import java.io.Serializable;

import org.jefb.sec.entity.UserRight;

public class MenuItem implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String title;
	private String description;
	private String image;
	private String pageName;
	private UserRight userRight;
	
	public MenuItem() {
		super();
	}
	
	public MenuItem(String title) {
		super();
		this.title = title;
	}
	
	public MenuItem(String title, String pageName) {
		super();
		this.title = title;
		this.pageName = pageName;
	}
	
	public MenuItem(String title, String pageName, UserRight userRight) {
		super();
		this.title = title;
		this.pageName = pageName;
		this.userRight = userRight;
	}
	
	public MenuItem(String title, String pageName, String image, UserRight userRight) {
		super();
		this.title = title;
		this.pageName = pageName;
		this.image = image;
		this.userRight = userRight;
	}
	
	public MenuItem(String title, String description, String image) {
		super();
		this.title = title;
		this.description = description;
		this.image = image;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}

	public void setPageName(String pageName) {
		this.pageName = pageName;
	}

	public String getPageName() {
		return pageName;
	}

	public void setUserPermission(UserRight userRight) {
		this.userRight = userRight;
	}

	public UserRight getUserPermission() {
		return userRight;
	}
}
